package com.meilele.biz.hongdian;

import com.meilele.dao.hongdian.ThiImagesMapper;
import com.meilele.dao.hongdian.ThiShowMapper;
import com.meilele.entity.hongdian.ThiShow;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

@Service
public class ThiShowBiz {

    @Resource
    private ThiShowMapper showMapper;
    @Resource
    private ThiImagesMapper imagesMapper;

    public ThiShow findAllDetails(int showId){
        return showMapper.findAllDetails(showId);
    }

    public long findCount(int showId){
        return imagesMapper.findCount(showId);
    }
}
